package org.cmg.study.mybatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.cmg.study.mybatis.entity.Website;

import java.util.Map;

/**
 * @author CMG
 * @version 1.0
 * @cLassName WebsiteMapper
 * @description
 * @date 2021/9/6 15:55
 **/
@Mapper
public interface WebsiteMapper {
    int updateWebsite(String mame);

    int updateByMap(Map<String, String> params);

    int updateByAn(@Param("name") String name, @Param("url") String url, @Param("id") Integer id);

    int updateByBean(Website website);
}
